# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/items.html

import scrapy


class Douguo2Item(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    level1 = scrapy.Field()     # 一级标签，如：热门美食
    level2 = scrapy.Field()     # 二级标签，如：茄子
    name = scrapy.Field()       # 菜名
    author = scrapy.Field()     # 作者
    intro = scrapy.Field()      # 简介
    materials = scrapy.Field()  # 食材（会有多个）
    steps = scrapy.Field()      # 做菜步骤-文字（多条）
    steps_imgs = scrapy.Field() # 做菜步骤-图片地址
    tags = scrapy.Field()       # 菜品的标签

    url = scrapy.Field()        # 封面图
    imgs_list = scrapy.Field()       # 步骤图片集合
